#!/bin/bash
python -u tester.py 2>&1 | tee output.log

TEST_STATUS=${PIPESTATUS[0]}
if [[ $TEST_STATUS -ne 0 ]]; then
	echo $TEST_STATUS
fi